package com.exampletest.service;

import com.exampletest.model.Meeting;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface MeetingService {
    int addMeeting(Meeting meeting);
    int updateMeeting(Meeting meeting);
    int deleteMeeting(Integer id);
    Meeting getMeetingById(Integer id);
    List<Meeting> getAllMeetings();
    List<Meeting> searchMeetings(String keyword, String startDate, String endDate, String status);
    void approveMeeting(Integer id, Integer status);
    Page<Meeting> searchMeetingsWithPage(
            String keyword,
            String startDate,
            String endDate,
            Pageable pageable
    );
}